JavaScript

{dialog.object}closeWindow Method

Syntax

{dialog.Object}.closeWindow(UXWindowName)

Arguments

UXWindowName

The explicit name for the window specified in the window's properites.

Description

Closes a window.

Example

//Closes the window
{dialog.Object}.closeWindow('WINDOW1');
You cannot use this method if you did not give the window an explicit name when you defined it. In that case you will need to use the A5.windows.getFromElement(ele) function, where 'ele' is the Id of some element in the window.

See Also